import request from '@/utils/request'

export function getTeacherList(params) {
    return request({
        url: '/evaluation/getTeacherList',
        method: 'POST',
        data: params
    })
}

export function getRules(params) {
    return request({
        url: '/evaluation/getGradeList',
        method: 'POST',
        data: params
    })
}

export function putGradeList(params) {
    return request({
        url: '/evaluation/putGradeList',
        method: 'POST',
        data: params
    })
}

export function getPart() {
    return request({
        url: '/evaluation/getPart',
        method: 'POST'
    })
}

export function searchOneOperaterScoreRecord(params) {
    return request({
        url: '/scorecycle/searchOneOperaterScoreRecord',
        method: 'POST',
        data: params
    })
}

export function deleteScoreRecord(params) {
  return request({
    url: '/scorecycle/deleteScoreRecord',
    method: 'POST',
    data: params
  })
}

export function delAllCommit(params) {
    return request({
      url: '/commitother/delAllCommit',
      method: 'POST',
      data: params
    })
  }
